home *** CD-ROM | disk | FTP | other *** search
-
-
-
- aaaaffffSSSSeeeeeeeekkkkFFFFrrrraaaammmmeeee((((3333ddddmmmm)))) aaaaffffSSSSeeeeeeeekkkkFFFFrrrraaaammmmeeee((((3333ddddmmmm))))
-
-
-
- NNNNAAAAMMMMEEEE
- afSeekFrame, afTellFrame - move logical file read pointer for a specified
- audio track to a desired sample frame location / retrieve current value
- of file read or write pointer.
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- ####iiiinnnncccclllluuuuddddeeee <<<<ddddmmmmeeeeddddiiiiaaaa////aaaauuuuddddiiiiooooffffiiiilllleeee....hhhh>>>>
-
- AAAAFFFFffffrrrraaaammmmeeeeccccoooouuuunnnntttt aaaaffffSSSSeeeeeeeekkkkFFFFrrrraaaammmmeeee((((ccccoooonnnnsssstttt AAAAFFFFffffiiiilllleeeehhhhaaaannnnddddlllleeee ffffiiiilllleeee,,,, iiiinnnntttt ttttrrrraaaacccckkkk,,,,
- AAAAFFFFffffrrrraaaammmmeeeeccccoooouuuunnnntttt ffffrrrraaaammmmeeeeooooffffffffsssseeeetttt))))
-
- AAAAFFFFffffrrrraaaammmmeeeeccccoooouuuunnnntttt aaaaffffTTTTeeeellllllllFFFFrrrraaaammmmeeee((((ccccoooonnnnsssstttt AAAAFFFFffffiiiilllleeeehhhhaaaannnnddddlllleeee ffffiiiilllleeee,,,, iiiinnnntttt ttttrrrraaaacccckkkk))))
-
- PPPPAAAARRRRAAAAMMMMEEEETTTTEEEERRRR
- _f_i_l_e is an AAAAFFFFffffiiiilllleeeehhhhaaaannnnddddlllleeee structure, previously returned by
- aaaaffffOOOOppppeeeennnnFFFFiiiilllleeee(3dm), aaaaffffOOOOppppeeeennnnFFFFDDDD(3dm), or aaaaffffOOOOppppeeeennnnNNNNaaaammmmeeeeddddFFFFDDDD(3dm).
-
- _t_r_a_c_k is an integer which identifies an audio track within a file
- which is open for read access.
-
- Since all currently supported file formats contain one audio
- track per file, the constant value AAAAFFFF____DDDDEEEEFFFFAAAAUUUULLLLTTTT____TTTTRRRRAAAACCCCKKKK should
- always be used here for now.
-
- _f_r_a_m_e_o_f_f_s_e_t
- is a sample frame location of type AFframecount with a value
- between 0 and the total number of sample frames in the _t_r_a_c_k
- minus one. If frameoffset is set to -1, aaaaffffSSSSeeeeeeeekkkkFFFFrrrraaaammmmeeee(((()))) will
- return the current location in the file.
-
- RRRREEEETTTTUUUURRRRNNNN VVVVAAAALLLLUUUUEEEE
- On successful completion, aaaaffffSSSSeeeeeeeekkkkFFFFrrrraaaammmmeeee(((()))) returns the new file pointer
- location measured in sample frames from the beginning of the audio track.
- aaaaffffTTTTeeeellllllllFFFFrrrraaaammmmeeee(((()))) returns the current pointer location. On an error, a
- negative value is returned. The return type AFframecount is large enough
- to hold the maximum possible frame offset.
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- aaaaffffSSSSeeeeeeeekkkkFFFFrrrraaaammmmeeee(((()))) repositions the logical audio sample read pointer to _o_f_f_s_e_t
- sample frames from the beginning of the _t_r_a_c_k. A call to
- aaaaffffRRRReeeeaaaaddddFFFFrrrraaaammmmeeeessss(3dm) following a call aaaaffffSSSSeeeeeeeekkkkFFFFrrrraaaammmmeeee(((()))) will return sample data
- beginning at the updated file pointer location. aaaaffffTTTTeeeellllllllFFFFrrrraaaammmmeeee(((()))) is used to
- query the current value, and functions identically to the call
- afSeekFrame(_f_i_l_e, _A_F__D_E_F_A_U_L_T__T_R_A_C_K, -_1);
-
- EEEEXXXXAAAAMMMMPPPPLLLLEEEE
- To seek to the 10000th <left, right> sample pair in a stereo AIFF-C file,
- call aaaaffffSSSSeeeeeeeekkkkFFFFrrrraaaammmmeeee(((()))) with _o_f_f_s_e_t set to 10000.
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-
-
-
- aaaaffffSSSSeeeeeeeekkkkFFFFrrrraaaammmmeeee((((3333ddddmmmm)))) aaaaffffSSSSeeeeeeeekkkkFFFFrrrraaaammmmeeee((((3333ddddmmmm))))
-
-
-
- SEE ALSO
- afOpenFile(3dm), afReadFrames(3dm), afSaveFilePosition(3dm)
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 2222
-
-
-
-